<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="chtml" uri="http://www.szhelper.com/jsp/html"%>
<%@ taglib uri="http://www.szhelper.com/jsp/html" prefix="chtml"%>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<chtml:link rel="stylesheet" href="/layout/css/window.css" />
<title>欢迎页</title>
<style type="text/css">
.success_content {
	font-size:22px;
	background: #fff;
	margin: 0 auto;
	padding: 100px 0;
}
.icos {background: url(layout/images/ico_success.png) no-repeat;text-align:left;width:60px;height: 60px;}
.icos_tip{font-weight: 800;color:green;line-height:60px;text-align: left;}
.login_info{line-height:26px;font-size:14px;text-align: left;}
</style>
</head>
<body>

<div class="success_content">
	<table border="1" align="center" cellpadding="0" cellspacing="0" style="text-align: center;margin: 0 auto;">
		<tr>
		  <td rowspan="2" valign="top"><div class="icos"></div></td>
			<td class="icos_tip">
				<script language="javaScript"> 
				now = new Date(),hour = now.getHours();
					if(hour < 6){document.write("凌晨好")}
					else if (hour < 8){document.write("早晨好")}
					else if (hour < 11){document.write("上午好")} 
					else if (hour < 13){document.write("中午好")} 
					else if (hour < 17){document.write("下午好")} 
					else if (hour < 19){document.write("傍晚好")} 
					else if (hour < 22){document.write("晚上好")} 
					else {document.write("深夜啦，早些休息")} 
				</script>！<c:out value="${CUR_USER_INFO.realName}" />，欢迎您！
				
			</td>
		</tr>
		<tr>
		  <td class="login_info">
			<c:choose>
				<c:when test="${not empty CUR_USER_INFO.lastLogin}">您上次登录时间：<c:out value="${CUR_USER_INFO.lastLogin}" /></c:when>
				<c:otherwise>这是您的首次登录!	</c:otherwise>
			</c:choose>
		</td>
</tr>	
	</table>
</div>


<div align="center" style="background: #fff;line-height:26px;font-size: 16px;">
<style>
a{padding-left: 10px;}
a:hover{text-decoration: underline;}
<br />
<br />
</div>


</body>
</html>
